{{template "header.html" .UIUtils.Slice "Badge" "badge"}}

<div class="page-header">
	<h1>
		Badge for {{.Name}} package
	</h1>
</div>

<p><a href="view?id={{.Package}}"><img src="badge?id={{.Package}}"/></a></p>

<div class="panel panel-default">
  <div class="panel-body">
	 <div class="form-group">
	    <label for="badgehtml">HTML</label>
		<input type="text" class="click-select form-control" id="badgehtml" value="{{.HTMLCode}}"/>
	 </div>
	 <div class="form-group">
	    <label for="badgemd">Markdown</label>
		<input type="text" class="click-select form-control" id="badgemd" value="{{.MDCode}}"/>
	 </div>
  </div>
</div>


{{template "footer.html"}}